#ifndef TESTCLASSE_H
#define TESTCLASSE_H
#include <QApplication>
#include <QtGui>
#include "eq_gestioncarte.h"


class Lab_Tileset : public QLabel
{
public:

    Lab_Tileset( QWidget * parent = 0, Qt::WindowFlags f = 0 ) {}
    ~Lab_Tileset() {}
    void mousePressEvent(QMouseEvent *event);
    void setParent(GestionCarte * parent) {this->parent=parent;}

private:
    GestionCarte * parent;

};

class Lab_Map : public QLabel
{
public:

    Lab_Map ( QWidget * parent = 0 ) {}
    ~Lab_Map() {}

    void paintEvent(QPaintEvent *);
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent ( QMouseEvent * event );
    void setParent(GestionCarte * parent) {this->parent=parent;}

private:
    GestionCarte * parent;

};

class Lab_Units : public QLabel
{
public:

    Lab_Units ( QWidget * parent = 0 ) {}
    ~Lab_Units() {}

    void mousePressEvent(QMouseEvent *event);
    void paintEvent(QPaintEvent *);
    void setParent(GestionCarte * parent) {this->parent=parent;}

private:
    GestionCarte * parent;

};

#endif // TESTCLASSE_H
